package com.itls.recommendedgames.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.ToString;

@ToString(exclude = "password")

@Schema(description = "用户实体")
public class User {
    private int id;
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "密码")
    private String password;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}